]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Make 3fg vertical swipes bring overview and app grid
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 4 Jan 2021 15:23:45 +0000 (16:23 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 17 Feb 2021 13:06:11 +0000 (14:06 +0100)
commitcd506d45ef448d318c042b6901c4da57634c2b28
tree4895076930821c1ad15e20e4f64f3b671bbece15
parentddb8782179794a8a7f2a0ac13700bf165094ec20
overview: Make 3fg vertical swipes bring overview and app grid

The gesture internally manipulates the main adjustment so one swipe
up brings up the overview, and a second swipe up brings the app
grid. The gesture also works in the other direction to get out of
the overview.

Internally, this is delegated on the OverviewControls, so the
adjustment is not leaked out of there. This however meant open
coding the gesture interaction so it can be directed from
overview.js code.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1643>
js/ui/overview.js
js/ui/overviewControls.js